import pika
import sys

username = 'admin'
pwd = 'admin'
credentials = pika.PlainCredentials(username, pwd)